package com.heye.imheye.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/test0")
    public String test0() {
        return "test允许";
    }

    @GetMapping("/test1")
    public String test1(){
        return "test权限";
    }
}
